package com.xqboss.apps.domain.consumer;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Id;
import java.io.Serializable;

/**
 * 队伍增益规则表
 * @author wangcong
 * @date 2023-08-28
 */
@Data
@ApiModel("队伍增益规则表")
public class ConsumerTeamGainRule implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId
    @Id
    @ApiModelProperty("主键")
    private Long id;

    /**
     * 队伍总打卡次数
     */
    @ApiModelProperty("队伍总打卡次数")
    private Integer totalPunch;

    /**
     * 增益百分比%
     */
    @ApiModelProperty("增益百分比%")
    private BigDecimal gain;

    /**
     * 规则说明
     */
    @ApiModelProperty("规则说明")
    private String description;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    /**
     * 删除标记
     */
    @TableLogic
    @ApiModelProperty("删除标记")
    private Boolean delFlag;


}